<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

   <title>DREAM Toolbox - continuedream</title>

   <meta name="keywords" content="continuedream">

   <meta name="description" content="continuedream">

   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  
   <meta name="robots" content="index, follow">

   <meta author="Jurriaan H. Spaaks">

   <link type="text/css" rel="stylesheet" href="styles/dream_styles.css">
 
</head>



<body>
<a name="_top"></a>


<div class="linkheader">
<a href="matlab:edit(fullfile(dreamroot,'continuedream'))">View source code of the function <span style="font-family:monospace">continuedream()</span> in the MATLAB editor</a><br><br>
<a href="matlab:web(fullfile(dreamroot,'html','contents.html'),'-helpbrowser')">Toolbox contents</a>
</div>

<div class="spacer">
</div>



<div class="h1">
continuedream
</div>

<div class="h2">
Syntax
</div>

<div class="txt">
<pre>runCondition = continuedream(dreamPar,nModelEvals)</pre>
</div>

<div class="h2">
Description
</div>

<div class="txt">
This function determines whether the optimization procedure should continue. Termination is based on one of the following:<br>
<ol>
<li>the maximum number of iterations as specified by <span style="font-family:monospace">dreamPar.nModelEvalsMax</span> has been reached;</li>
<li>the optimization end time as specified by <span style="font-family:monospace">dreamPar.optEndTime</span> has been exceeded;</li>
<li>convergence has been achieved.</li>
</ol>

</div>


<div class="footer">
</div>

<div class="spacer">
</div>


<a name="_bottom"></a>


</body>

</html>